<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html lang="en-US">
	<head>
		<meta charset="UTF-8">
		<title>凯盛项目管理系统</title>
		<link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
		<link rel = "Shortcut Icon" href="http://www.kaishengit.com/favicon.ico" />
		<script type="text/javascript" src="js/jquery.js"></script>
		<style type="text/css">
		.navbar {
			margin-bottom: 0px;
		}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="navbar">
				<div class="navbar-inner">
					<div class="container">
						<a href="main" class="brand">凯盛项目管理系统</a>
						<ul class="nav pull-right">
							<li class="active">
								<a>${sessionScope.user.name }</a>
							</li>
							<li>
								<a href="user">个人资料</a>
							</li>
							<li class="divider-vertical">pr</li>
							<li>
								<a href="loginout">安全退出</a>
							</li>
						</ul>
					</div>
				</div>
			</div>
			<div class="wall">
				<div class="page-header">
					<h2>项目列表</h2>
				</div>
				<a href="main?m=new" class="btn btn-success">
					<i class="icon-plus icon-white"></i>开始一个新项目
				</a>
				<c:forEach var="project" items="${projects }">
					<ul class="breadcrumb">
						<li class="active">
							<a href="project?id=${project.id }">
								<i class="icon-th"></i>${project.name }
							</a>
						</li>
					</ul>
					<div class="wall">
						<p>${project.detail }</p>
					</div>
				</c:forEach>
			</div>
		</div>
	</body>
</html>
